#include <de2D_priv.hpp>
Inheritance diagram for de2DObject:


Public Member Functions | |
| de2DObject (IdeVertexBuffer *VBuffer, IdeRenderTexture *Texture, deFloat Depth, deBoolean ExpireNow=DE_FALSE) | |
| IdeVertexBuffer * | GetVBuffer () const |
| Get the internal vertex buffer for this object. | |
| IdeRenderTexture * | GetTexture () const |
| Get the texture-state used to render this object. | |
| deBoolean | HasExpired () const |
| deFloat | GetDepth () const |
| void | MakeExpire () |
| Cause this object to be deleted after it is next rendered. | |
| deBoolean | SetDepth (deFloat Depth) |
| deBoolean | Move (deVertex DeltaXY) |
| Manually transform the position values in the internal vertex buffer, to move the object. | |
| deBoolean | Update (deDouble DeltaTime) |
Protected Member Functions | |
| virtual | ~de2DObject () |
| virtual deBoolean | UpdateObject (deDouble DeltaTime) |
| void | SetVBuffer (IdeVertexBuffer *VBuffer) |
| void | SetTexture (IdeRenderTexture *Texture) |
Private Attributes | |
| IdeVertexBuffer * | m_VBuffer |
| IdeRenderTexture * | m_Texture |
| deBoolean | m_Expire |
| IdeDriver * | m_Driver |
| deFloat | m_Depth |
|
|
|
|
||||||||||||||||||||
|
|
|
|
Get the depth value used for sorting this object into the render order. Note that the depth value is only relative to other objects and collections inside the same collection. Implements Ide2DObject. |
|
|
Get the texture-state used to render this object.
Implements Ide2DObject. |
|
|
Get the internal vertex buffer for this object.
Implements Ide2DObject. |
|
|
Implements Ide2DObject. |
|
|
Cause this object to be deleted after it is next rendered.
Implements Ide2DObject. |
|
|
Manually transform the position values in the internal vertex buffer, to move the object.
Implements Ide2DObject. |
|
|
Set the depth value used for sorting this object into the render order. Note that the depth value is only relative to other objects and collections inside the same collection. Calling this method on an object already in a collection will not change its rendering order. Instead, call Ide2DCollection::AdjustObjectDepth which will invoke this method on the 2d object. Implements Ide2DObject. |
|
|
|
|
|
|
|
|
Implements Ide2DObject. |
|
|
Reimplemented in de2DOverlay, de2DCorona, and de2DLine. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3